extends CanvasLayer

var setting_menu: PackedScene = preload("res://scenes/ui/menu/settings.tscn")

func _ready():
	GlobalVar.mouse_input_lock = false

func _on_play_game_pressed():
	get_tree().change_scene_to_file("res://scenes/ui/menu/level_choise_menu.tscn")


func _on_quit_pressed():
	get_tree().quit()


func _on_settings_pressed():
	GlobalVar.in_game = false
	get_tree().change_scene_to_file("res://scenes/ui/menu/settings.tscn")
